package com.kzd.btgame.entity

import com.module.lemlin.http.HttpResponseData
import java.io.Serializable

data class BargainDetails(
    val address: String,
    val buy_huishou: String,
    val buy_uid: String,
    val content: String,
    val create_time: String,
    val gid: String,
    val gname: String,
    val huishou: String,
    val icon: String,
    val id: String,
    val images: MutableList<String> = mutableListOf(),
    val introduction: String,
    val jx: String,
    val money: String,
    val name: String,
    val number: String,
    val pay_money: String,
    val regday: Int,
    val role_name: String,
    val sellerinfo: Sellerinfo,
    val shop_ok: String,
    var shoucang: Int,
    val shoucang_id: String,
    val size: String,
    val small_id: String,
    val sname: String,
    val status: String,
    val system: String,
    val type: String
) : Serializable

data class Sellerinfo(
    val petname: String,
    val phone: String,
    val regday: Int,
    val selling: String,
    val shiming: String,
    val soldout: String
) : Serializable

data class BargainRecord(
    val buy_uid: String,
    val create_time: String,
    val gid: String,
    val id: String,
    val image: String,
    val images: String,
    val introduction: String,
    val money: String,
    val name: String,
    val shop_ok: String,
    val status: String,
    val style: String,
    val time: String,
    val type: String,
    val uid: String,
    val gname: String
)

class BargainPaymentResponse(
    val data: BargainPayment
) : HttpResponseData() {
    var type: Int = 0
    var id: String? = null
}

data class BargainPayment(
    val oid: String,
    val url: String
)
